package com.syq.service;


import com.syq.entity.Cart;

import java.util.List;

/**
 * @author wgy
 * @version V1.0
 * @project gp12_xiaomi
 * @package com.qf.service
 * @description: ${TODO}
 * @date 2022/6/23 16:37
 */
public interface CartService {
    void add(Cart cart);

    Cart findByUidAndPid(Integer id, int pid);

    void update(Cart cart);

    List<Cart> findByUid(Integer id);

    void delete(Integer uid, int pid);

    void deleteByUid(Integer uid);
}
